package org.sevenless.vul;

import java.util.Map;
import java.util.HashMap;
import java.lang.reflect.Method;

public class VulAttributes {
  
  private Class compClass;
  private Map<String,Method> attrs = new HashMap<String, Method>();
  
  public VulAttributes(Class c) {
    compClass = c;
  }
  
  public Class getCompClass() {
    return compClass;
  }
  
  public void addAttr(String name, Method m) {
    attrs.put(name,m);
  }
  
  public Method getMethod(String name) {
    return attrs.get(name);
  }  
  
}
